import React from "react";
import { Col, Row, Tabs } from "antd";
 const Preview = ({ children, }) => {
  return (
    <Tabs
    
      items={children.map((item,index) => {
        
        return {
          label:'Tab '+index,
          key: index,
          children:item
        };
      })}
    />
  );
};
export  {Preview}
